package com.xiaoliang.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author XIAOLIANG
 * @ClassName Department.java
 * @Description TODO
 * @createTime 2021年03月08日 19:13:00
 */
public class Department implements Serializable {
	private  Integer departmentId;
	private String departmentName;
	private List<Employee> employeeList;

	public Department() {

	}

	public Department(Integer departmentId, String departmentName) {
		this.departmentId = departmentId;
		this.departmentName = departmentName;
	}

	public Department(Integer departmentId, String departmentName, List<Employee> employeeList) {
		this.departmentId = departmentId;
		this.departmentName = departmentName;
		this.employeeList = employeeList;
	}

	public Integer getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public List<Employee> getEmployeeList() {
		return employeeList;
	}

	public void setEmployeeList(List<Employee> employeeList) {
		this.employeeList = employeeList;
	}

	@Override
	public String toString() {
		return "Department{" +
				"departmentId=" + departmentId +
				", departmentName='" + departmentName + '\'' +
				", employeeList=" + employeeList +
				'}';
	}
}
